package emt.friendtracking.locationmodule;

public class Coordinates
{
	double longitude, latitude;
	float accuracy, speed;
	private boolean hasSpeed;
	
	public Coordinates (double longi, double lati, float acc, boolean hasSpeed, float spee)
	{
		this.longitude = longi;
		this.latitude = lati;
		this.accuracy = acc;
		this.hasSpeed = hasSpeed;
		this.speed = spee;
	}
	
	public double getLongitude()
	{
		return this.longitude;
	}
	
	public double getLatitude()
	{
		return this.latitude;
	}
	
	public String getAccuracyString()
	{
		return Float.toString(this.accuracy);
	}
	
	public float getAccuracy()
	{
		return accuracy;
	}
	
	public boolean hasSpeed()
	{
		return hasSpeed;
	}
	
	public float getSpeed()
	{
		return speed;
	}
}
